package com.zp.business.service.infusion;

import com.zp.business.entity.infusion.bo.InfusionItemBo;
import com.zp.business.entity.infusion.vo.InfusionItemVo;
import com.zp.common.myBatis.core.page.PageQuery;
import com.zp.common.myBatis.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 输液室登记项目Service接口
 *
 * @author zhang peng
 * @ date 2025-02-08
 */
public interface IInfusionItemService {

    /**
     * 查询输液室登记项目
     */
    InfusionItemVo queryById(String infusionItemId);

    /**
     * 查询输液室登记项目列表(分页)
     */
    TableDataInfo<InfusionItemVo> queryPageList(InfusionItemBo bo, PageQuery pageQuery);

    /**
     * 查询输液室登记项目列表(不分页)
     */
    List<InfusionItemVo> queryList(InfusionItemBo bo);

    /**
     * 修改输液室登记项目
     */
    Boolean insertByBo(InfusionItemBo bo);

    /**
     * 修改输液室登记项目
     */
    Boolean updateByBo(InfusionItemBo bo);

    /**
     * 校验并批量删除输液室登记项目信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);
}
